<template>
  <a-row :gutter="gutter">
    <template v-if="size && size == '2/3'">
      <a-col span="16">
        <a-row :gutter="gutter">
          <slot></slot>
        </a-row>
      </a-col>
    </template>
    <template v-else>
      <slot></slot>
    </template>
  </a-row>
</template>

<script setup>
  import { useGutter } from '@/hooks/usePageForm'

  defineProps({
    size: String,
    gutter: {
      type: [Object, Number],
      default: useGutter(),
    },
  })
</script>
